package io.renren.modules.powercut.entity.bo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.metadata.BaseRowModel;
import com.google.common.base.Equivalence;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @description:
 * @author: zhujinbo 1724282894@qq.com
 * @createDate: 2020/12/6
 * @version: 1.0
 */
@Data
public class StandingbookIndexBo extends BaseRowModel {
    /**
     * 单位名称
     */
    @ExcelProperty(value = "单位名称",index = 0)
    private String company;
    /**
     * 停电时间
     */
    @ExcelProperty(value = "停电时间",index = 1)
    private Date blackoutTime;
    /**
     * 停电时长
     */
    @ExcelProperty(value = "停电时长",index = 2)
    private BigDecimal blackoutDuration;
    /**
     * 影响台区数量
     */
    @ExcelProperty(value = "影响台区数量",index = 3)
    private Integer districtCount;
    /**
     * 影响用户数
     */
    @ExcelProperty(value = "影响用户数",index = 4)
    private Integer userCount;
    /**
     * 是否计划内 0为非计划，1为计划内
     */
    @ExcelProperty(value = "是否计划内",index = 5)
    private String isPlan;
    /**
     * 停电原因
     */
    @ExcelProperty(value = "停电原因",index = 6)
    private String reason;
    /**
     * 近两个月停电次数
     */
    @ExcelProperty(value = "近两个月停电次数",index = 7)
    private Integer blackoutCount;
}
